Pod::Spec.new do |s|
  s.name             = 'BYScanCode'
  s.version          = '3.9.0'
  s.summary          = 'A short description of BYScanCode.'
  s.description      = '公共扩展、扫码组件'
  s.homepage         = 'https://github.com/lanchc/BYScanCode'
  s.license          = { :type => 'MIT', :file => 'LICENSE' }
  s.author           = { 'lanchc' => '543518851@qq.com' }
  s.source           = { :git => 'https://github.com/lanchc/BYScanCode.git', :tag => s.version.to_s }
  ## 编译版本
  s.ios.deployment_target = '12.0'
  s.swift_version = '5.0'

  s.static_framework = true
  ## 加载代码&资源
  s.source_files = 'BYScanCode/Classes/**/*.swift'
  s.resource_bundles = { 'BYScanCode' => ['BYScanCode/Assets/*.xcassets', 'BYScanCode/Assets/**/*.wav', 'BYScanCode/Classes/**/*.xib', 'BYScanCode/Classes/**/*.json'] }
  
  # https://developers.google.cn/ml-kit/vision/barcode-scanning/ios?hl=zh-cn
  # pod update GoogleMLKit/BarcodeScanning
  s.dependency 'GoogleMLKit/BarcodeScanning', '6.0.0'
  
end
